<div class="footer"></div>
</div>
<?php
    global $session;

    $fullname = $session->get('fullname');
    $status = $session->get('status');
    if ($status == 1) {
        echo '<div id="fb-root"></div>
              <script src="http://connect.facebook.net/en_US/all.js"></script>
              <script>
                 FB.init({appId:"190729414302878", cookie:true,status:true, xfbml:true});
                 FB.ui({
                    method: "feed",
                    link: "http://www.facebook.com/apps/application.php?id=190729414302878",
                    picture: "https://lh6.googleusercontent.com/_hfC4HVLaFmA/TZBMdiLjQnI/AAAAAAAAABA/bSd_fg9mJgc/logo.png",
                    message: "'.$fullname.' has uploaded a new photo to YOU application"
                 });
              </script>';
    }
?>
</body>
</html>